package com.xszx.bean;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class EmpBasicInfo {

	private int id;
	private String name;
	private String empNo;
	private String depName;
	@JsonFormat(pattern="yyyy-MM-dd")
	private Date birthday;
	private String position;
	private String phone;
	private String sex;
	private int slary;
	private String academic;
	private String 	idCard;
	private String jobStatus;
	private String marital;
	private String  political;
	private String school;
	private String nation;
	private String major;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEmpNo() {
		return empNo;
	}
	public void setEmpNo(String empNo) {
		this.empNo = empNo;
	}
	public String getDepName() {
		return depName;
	}
	public void setDepName(String depName) {
		this.depName = depName;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getPosition() {
		return position;
	}
	public void setPosition(String position) {
		this.position = position;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public int getSlary() {
		return slary;
	}
	public void setSlary(int slary) {
		this.slary = slary;
	}
	public String getAcademic() {
		return academic;
	}
	public void setAcademic(String academic) {
		this.academic = academic;
	}
	public String getIdCard() {
		return idCard;
	}
	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	public String getJobStatus() {
		return jobStatus;
	}
	public void setJobStatus(String jobStatus) {
		this.jobStatus = jobStatus;
	}
	public String getMarital() {
		return marital;
	}
	public void setMarital(String marital) {
		this.marital = marital;
	}
	public String getPolitical() {
		return political;
	}
	public void setPolitical(String political) {
		this.political = political;
	}
	
	public String getSchool() {
		return school;
	}
	public void setSchool(String school) {
		this.school = school;
	}
	public String getNation() {
		return nation;
	}
	public void setNation(String nation) {
		this.nation = nation;
	}
	public String getMajor() {
		return major;
	}
	public void setMajor(String major) {
		this.major = major;
	}
	@Override
	public String toString() {
		return "EmpBasicInfo [id=" + id + ", name=" + name + ", empNo=" + empNo + ", depName=" + depName + ", birthday="
				+ birthday + ", position=" + position + ", phone=" + phone + ", sex=" + sex + ", slary=" + slary
				+ ", academic=" + academic + ", idCard=" + idCard + ", jobStatus=" + jobStatus + ", marital=" + marital
				+ ", political=" + political + ", school=" + school + ", nation=" + nation + ", major=" + major + "]";
	}

	
}
